package me.sealer.ssm;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @author sealer
 * @date 2018/05/03
 * EnableTransactionManagement 启注解事务管理，等同于xml配置方式的 <tx:annotation-driven /> 默认有此注解， 无需添加
 */
@EnableSwagger2
@SpringBootApplication
@MapperScan("me.sealer.ssm.mapper")
public class SsmSrvApplication {
    public static void main(String[] args) {
        SpringApplication.run(SsmSrvApplication.class, args);
    }
}
